package chapter12;

/**
 * @author : DuJiabao
 * @Date : 2021/2/20 16:12
 * @Project : thinking_in_java
 * @File : null.java
 * @Desc :
 */
public class AlwaysFinallyTest {
  public static void main(String[] args) {
    try {
      try {
        throw new RuntimeException();
      } finally {
        System.out.println("第一层finally");
      }
    } catch (RuntimeException e) {
      System.out.println("捕获" + e);
    } finally {
      System.out.println("第二层finally");
    }
  }
}
